﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using DTO;
using DAO;

namespace BUS
{
    public class CauHoiBUS
    {
        public static List<CauHoiDTO> getAll()
        {
            return CauHoiDAO.getAll();
        }
        public static CauHoiDTO getQuestionById(int maCauHoi)
        {
            return CauHoiDAO.getQuestionById(maCauHoi);
        }
        public static List<CauHoiDTO> getQuestionsByDiaDiemId(int diaDiemId)
        {
            return CauHoiDAO.getQuestionsByDiaDiemId(diaDiemId);
        }
    }
}
